<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" %>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Chercher Client</title>
<link type="text/css" rel="stylesheet" href="inc/style.css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="inc/css/bootstrap.min.css">

<!-- Optional theme -->
<link rel="stylesheet" href="inc/css/bootstrap-theme.min.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Moteur de recherche</title>
</head>
<body>

<script src="inc/js/bootstrap.min.js" type="text/javascript"></script>


<nav class="navbar navbar-default" role="navigation" >
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="moteur.php">Projet Recherche d'Information</a>
     </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        
      </ul>
   
      <form class="navbar-form navbar-left" role="search"  method="POST" action="/RINFO/search">
        <div class="form-group">
          <input type="text" id="go" name="mot" class="form-control" placeholder="Recherche" style="width:300px;">
        </div>
        <button type="submit" class="btn btn-default glyphicon glyphicon-search" style="height:34px;"></button>
      </form>
      
     <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="txt.jsp">TXT</a></li>
        <li><a href="xml.jsp">XML</a></li>
        
        </ul>
        </div>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>



<c:if test="${ param.mot != null }"> 
<br><br>
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-8">

<blockquote>
  <p><c:out value="${ param.mot }"/></p>
  <footer>- Résultats <cite title="Source Title">RI</cite></footer>
</blockquote>
  
</div>
</div>

</c:if>
</body>
</html>